<%@page pageEncoding="UTF-8" contentType="text/html;charset=utf-8" errorPage="/error.jsp"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>修改密码-麦丰网</title>
<link href="${ctx}/css/login.css" rel="stylesheet" type="text/css" />
</head>

<body class="loginbody">
<form action="${ctx}/admin/password/update" method="post">
<div class="login-screen">
    <div class="login-form">
        <h1 style="margin-top: 0px;">请输入原密码</h1>
        <div class="control-group">
        	<input type="password" name="old_password" class="login-field" placeholder="原密码" title="原密码"/>
            <label class="login-field-icon user" for="old_password"></label>
        </div>
        <div class="control-group">
        	<input type="password" name="new_password" class="login-field" placeholder="新密码" title="新密码"/>
            <label class="login-field-icon pwd" for="new_password"></label>
        </div>
        <div class="control-group">
        	<input type="password" name="re_password" class="login-field" placeholder="重复新密码" title="重复新密码"/>
            <label class="login-field-icon pwd" for="re_password"></label>
        </div>
        <div><input type="submit" class="btn-login" value="确 认"/></div>
        <span class="login-tips">
        	<i></i>
        	<c:if test="${not empty param.err}">
        		<b id="msgtip">密码有误，请重试！</b>
        	</c:if>
        	<c:if test="${empty param.err}">
        		<b id="msgtip">请输入原密码和新密码</b>
        	</c:if>
        </span>
    </div>
    <i class="arrow">箭头</i>
</div>
</form>
</body>
</html>